from django.db import models

# Create your models here.

class Goods(models.Model):
    img = models.ImageField()
    name = models.CharField(max_length=250)
    price = models.CharField(max_length=250)
    count = models.CharField(max_length=250) #评论总数

class Ding(models.Model):
    riqi = models.CharField(max_length=250)
    danhao = models.CharField(max_length=250)
    shou_user = models.CharField(max_length=250)
    price = models.CharField(max_length=250)
    img = models.ImageField()



class Dingxiang(models.Model):
    name = models.CharField(max_length=250)
    count = models.CharField(max_length=250)
    img = models.ImageField()

class User(models.Model):
    name = models.CharField(max_length=250)
